﻿@model IEnumerable<CDV.MC.MatrixDriver.WebApp.Data.ClientInfo>
@{
    ViewData["Title"] = "客户端列表";
}

<div id="clientView" class="row clientContainer">
    <div class="col-md-4">
        @{
            var self = Model.FirstOrDefault(client => client.Self);
            if (self != null)
            {
                @Html.DisplayFor(x => self, "ClientInfo");
            }
        }
    </div>
    <div class="col-md-8 otherClientContainer">
        @foreach (var clientItem in Model)
        {
            if (!clientItem.Self)
            {
                @Html.DisplayFor(x => clientItem, "ClientInfo");
            }
        }
    </div>
</div>
